package com.ak.entity;

/**
 * 〈一句话功能简述〉<br>
 * 〈〉
 *
 * @author xk
 * @create 2023/12/6 14:26
 * @since 1.0.0
 */
public interface GatewayConstant {
    /**
     * 登录的url
     */
    public static final String LOGIN_URL = "/butool/login";
    public static final String LOGINL = "/authority/login";

    /**
     * 注册的url
     */
    public static final String REGISTER_URL = "/butool/register";
    public static final String REGISTER = "/authority/register";

    /**
     * 去授权中心拿到登录 token 的 uri 格式化接口
     */
    public static final String AUTHORITY_CENTER_TOKEN_URL_FORMAT =
            "http://%s:%s/butool-cloud-Authority-center/authority/token";

    /**
     * 去授权中心注册并拿到 token 的 uri 格式化接口
     */
    public static final String AUTHORITY_CENTER_REGISTER_URL_FORMAT =
            "http://%s:%s/butool-cloud-Authority-center/authority/register";
}
